package com.stateflow.facade.common.enums;

/**
 * Created by weiqingming on 2019/6/17.
 */
public enum CommonErrorEnum {

    NO_LOGIN("NO_LOGIN","用户未登录"),
    WXPAY_API_FAIL("WXPAY_API_FAIL","微信支付API调用失败"),
    NO_REGISTER("NO_REGISTER","用户未注册");

    private String code;
    private String desc;

    CommonErrorEnum(String code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
